/**
 * 引擎模块统一导出
 * 包含动画引擎和渲染引擎的所有功能
 */

// 动画引擎导出
export {
  AnimationEngine,
  animationEngine,
  easingFunctions,
  NumberInterpolator,
  PositionInterpolator,
  ColorInterpolator
} from './animation'

export type {
  EasingFunction,
  Interpolator,
  Keyframe,
  AnimationTrack
} from './animation'

// 渲染引擎导出
export {
  RenderEngine
} from './renderer'

export type {
  RenderConfig,
  LayerData,
  RenderStats
} from './renderer'

// 引擎工厂函数
export const createAnimationEngine = () => new AnimationEngine()
export const createRenderEngine = (canvas: HTMLCanvasElement, config?: any) => 
  new RenderEngine(canvas, config)
